@use './reset';
@use './nprogress';
@use './public';
@use './font.scss';
@use './antd.scss';

html,
body,
#root {
	width: 100%;
	height: 100%;
	font-family:
		-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
		'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
	overflow-x: hidden;
}

* {
	scrollbar-width: thin;
	scrollbar-color: rgb(0 0 0 / 25%) transparent;
}

.ant-table-header::-webkit-scrollbar {
	background-color: transparent;
}

html.grayscale {
	filter: grayscale(100%);
}

::view-transition-old(root),
::view-transition-new(root) {
	animation: none;
	mix-blend-mode: normal;
}

::view-transition-old(root) {
	z-index: 9999;
}

::view-transition-new(root) {
	z-index: 1;
}

.dark::view-transition-old(root) {
	z-index: 1;
}

.dark::view-transition-new(root) {
	z-index: 9999;
}
